package service.impl;

import mapper.App_categoryMapper;
import org.springframework.stereotype.Service;
import pojo.App_category;
import service.App_categoryService;

import javax.annotation.Resource;
import java.util.List;

@Service("app_categoryService")
public class App_categoryServiceImpl implements App_categoryService {
    @Resource
    private App_categoryMapper appCategoryMapper;
//    @Override
//    public List<App_category> list() {
//        return appCategoryMapper.list();
//    }
//
//    @Override
//    public List<App_category> list2() {
//        return appCategoryMapper.list2();
//    }
//
//    @Override
//    public List<App_category> list3() {
//        return appCategoryMapper.list3();
//    }

    @Override
    public List<App_category> getByParentId(Integer id) {
        return appCategoryMapper.getByParentId(id);
    }
}
